package com.njts.homework;

/**
 * @author David GE
 * Date  2025/11/21
 */

public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.name = "哈士奇";
        dog.age=5;
        dog.price=200;
        dog.eat();
        dog.lookHome();
        Cat cat=new Cat();
        cat.name="波斯猫";
        cat.age=2;
        cat.price=100;
        cat.eat();
        cat.catchMouse();

    }

}
